package com.qt.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "consul-provider")
public interface HelloService {
    @GetMapping("/provider/sayHello/{name}")
    public String sayHello(@PathVariable("name") String name);
}
